package sg.edu.nus.iss.billing.entity.service;

import java.math.BigDecimal;

public class ValueAddedService extends Service {

	public enum ServiceType {
		BASIC, ADDTIONAL, BOTH
	}
	
	private ServiceType type = ServiceType.ADDTIONAL;

	public ValueAddedService(String serviceProductID, String serviceName, BigDecimal fixedMonthlyCharge) {

		this.serviceProductID = serviceProductID;
		this.serviceName = serviceName;
		this.fixedMonthlyCharge = fixedMonthlyCharge;
	}
	
	
	public ServiceType getType() {
	
		return type;
	}

	
	public void setType(ServiceType type) {
	
		this.type = type;
	}


	@Override
	public String toString() {

		return "ValueAddedService [type="+type+"]"+super.toString();
	}
	
	

}
